#include <iostream>
using namespace std;

#include "CSolarNebula.h"
#include "../Particle/CParticle.h"

typedef CParticle<CParticleTraits> particle_t;

void generate_random_image (string _ti){
	srand(time(NULL));
	CImg<unsigned char> image(_ti.c_str());
	image.display();

	for (int i = 0; i < image.width(); i++)
		for (int k = 0; k < image.height(); k++)
			for (int f = 0; f < 3; f++)
				image(i,k,f) = rand()%255;
	image.display();
	image.save("google2.bmp");
}


int main (int , char * []) {
	generate_random_image("google.bmp");
//	CSolarNebula<particle_t> p ("iris.txt", 4, 150, true);
//	CSolarNebula<particle_t> p ("google.bmp");
//	cout << p << endl;
	return true;
}  